home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2573 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: cs.vu.nl!sun4nl!xs4all!marketgraph!rvg
  2. From: rvg@marketgraph.xs4all.nl (Ruud van Gaal)
  3. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
  4. Subject: Re: MIDI + C + AMIGA ??
  5. Message-ID: <0811obf60.alamito@marketgraph.xs4all.nl>
  6. Date: Thu, 1 Feb 96 14:17:08 CET
  7. References: <4eh5vv$7e7@bright.ecs.soton.ac.uk> <2323wbc60.alamito@marketgraph.xs4all.nl> <310E688D.3F14@student.io.tudelft.nl>
  8. Reply-To: rvg@marketgraph.xs4all.nl
  9. X-Newsreader: Alamito Mail and News Manager (V2.0.4 for Waffle) registered to MARKETGRAPH VISUAL AUTOMATION
  10.  
  11. In <310E688D.3F14@student.io.tudelft.nl> Aldo Hoeben 
  12. <io342042@student.io.tudelft.nl> wrote:
  13.  
  14. >Ruud van Gaal wrote:
  15. >> 
  16. >> In <4eh5vv$7e7@bright.ecs.soton.ac.uk> ars94r@ecs.soton.ac.uk (Andrew 
  17. Smith)
  18. >> wrote:
  19. >> 
  20. >> >Hi, I'm trying to get a start writing MIDI programs for my amiga 500, and
  21. >> 
  22. >> Before you obtain a library, consider writing it yourself; MIDI on the 
  23. Amiga
  24. >> is just doing serial in/output at 31250 baud (MIDI speed, although I 
  25. believe
  26. >>
  27. > Yeah, and before you start coding, be sure to design your own filesystem 
  28. and 
  29. >hack, develop your own language. The point of libraries is not only making 
  30. thing 
  31. >comfortable for the programmer (it does actually) but also for the enduser. 
  32. For
  33.  
  34. I was just trying to have him some bucks, perhaps (if the library wasn't for 
  35. free). If he already has some kind of serial lib, then the module
  36.  void MIDI_Open(void){ return SerOpen(31250); }
  37.  void MIDI_Write(char *s,int len){ SerWrite(s,len); }
  38.  int MIDI_Read(char *s,int len){ return SerRead(s,len); }
  39. would do the trick. Besides, you can set the SHARED bit for a serial port, 
  40. thus making it sharable amongst other programs using the port.
  41. My point was that MIDI==Serial (on the Amiga), and thus this might help him 
  42. without the use of some MIDI library (some MIDI info like $9x $nn $vv, $8x... 
  43. and you're there).
  44.  
  45. --
  46. Ruud van Gaal
  47. MarketGraph Visual Automation
  48. E-Mail                : rvg@marketgraph.xs4all.nl
  49. DoomShell 4.5 homepage: http://www.xs4all.nl/~jwkorver
  50. "...Works fascinates me. I could sit and watch it for hours..."
  51.  
  52.